package StringBuffer_;

/**
 * @description:
 * @Author yyp
 * @time
 */
public class StringBuffer01 {
    public static void main(String[] args) {
        StringBuffer SB = new StringBuffer("yyp");
        /*
            StringBuffer继承了AbstractStringBuilder，本质是一个char数组容器
         */
//        public final class StringBuffer
//                extends AbstractStringBuilder
//                implements java.io.Serializable, CharSequence

//        abstract class AbstractStringBuilder implements Appendable, CharSequence {
//            /**
//             * The value is used for character storage.
//             */
//            char[] value;
//
//            /**
//             * The count is the number of characters used.
//             */
//            int count;
    }
}
